home *** CD-ROM | disk | FTP | other *** search
- from JascApp import *
-
- def ScriptProperties():
- return {
- 'Author': 'Joe Fromm',
- 'Copyright': 'Copyright ⌐ 2002 Jasc Software Inc., all rights reserved.',
- 'Description': 'Select the Text tool.',
- 'Host': 'Paint Shop Pro 8',
- 'Host Version': '8.00'
- }
-
- def Do(Environment):
-
- # we need at least one image for this to work
- if len(App.Documents) < 1:
- App.Do(Environment, 'MsgBox', {
- 'Buttons': App.Constants.MsgButtons.OK,
- 'Icon': App.Constants.MsgIcons.Stop,
- 'Text': 'Command could not complete because there is no active document.'
- })
- return
-
- LastTool = App.Do( Environment, 'SelectTool', { 'Tool': 'Text' } )
-